class EventManager {
	constructor() {
		this.eventQueue = {}
	}

	register(eventName, handler) {
		if (this.eventQueue.hasOwnProperty(eventName)) {
			this.eventQueue[eventName].push(handler);
		} else {
			this.eventQueue[eventName] = [handler];
		}
	}

	run(e) {
		console.log('e', e);
	}
}